# create/read/write/append mode
# file_name,access_mode,buffering,encoding
# file_name 文件路径
# access_mode   create/read/write/append 默认是r
# buffering 0 无缓存
# buffering 1 有缓存 大于1整数代表缓存区大小
f_name = open(file='./test02.txt', mode='w', buffering=1, encoding='utf-8')
print(f_name.name)
# 关闭文件
f_name.close()
# 序列化 --> 内存到硬盘
# 反序列化 --> 硬盘到内存
